package com.ruoyi.basedata.domain.vo;

import com.ruoyi.basedata.domain.TerminalsXb;
import lombok.*;

import java.time.temporal.ChronoUnit;
import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class ConcentratorCommand {
    private String concentratorId;

    private String supplierId;

    private String isOpen;  //阀控

    private List<TerminalsXb> terminalsXbs;

    private String requestId;

    private Integer commandType;

    private String meter;

    private String sendTime;

    private Integer frequency;
    /**
     * 上报频率单位
     */
    private ChronoUnit frequencyUnit;

    private String ip;

    private String port;

    //采集器
    private String collector;

    //新的集中器id  设置集中器id时使用
    private String newConcentratorId;

    private String communicationType;

    private Boolean enable;
}
